import { createApp } from 'vue'

import App from './App.vue'
import router from './router.js'
import { makeRequest } from './common/api.js';

import 'bootstrap'
import './scss/bootstrap.scss'

const app = createApp(App)

// 设置生产模式标志
app.config.productionTip = false // true 表示生产环境，false 表示开发环境
// 关闭 Vue Devtools
app.config.devtools = false

app.config.globalProperties.$makeRequest = makeRequest
app.use(router)
app.mount('#app')